package com.wolf.service.impl;

import com.wolf.pojo.Wl_commodity_brand_tag_rel;
import com.wolf.repository.Wl_commodity_brand_tag_relMapper;
import com.wolf.service.Wl_commodity_brand_tag_relService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class Wl_commodity_brand_tag_relServiceImpl implements Wl_commodity_brand_tag_relService {

    @Autowired
    Wl_commodity_brand_tag_relMapper wl_commodity_brand_tag_relMapper;

    @Override
    public int insert(Wl_commodity_brand_tag_rel record) {
        return wl_commodity_brand_tag_relMapper.insert(record);
    }

    @Override
    public int insertSelective(Wl_commodity_brand_tag_rel record) {
        return wl_commodity_brand_tag_relMapper.insertSelective(record);
    }

    @Override
    public Wl_commodity_brand_tag_rel selectByPrimaryKey(String id) {
        return wl_commodity_brand_tag_relMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Wl_commodity_brand_tag_rel record) {
        return updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Wl_commodity_brand_tag_rel record) {
        return wl_commodity_brand_tag_relMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<Wl_commodity_brand_tag_rel> getAll() {
        return wl_commodity_brand_tag_relMapper.getAll();
    }
}
